1 /* JJT: 0.2.2 */ 2 3 package mobisnap.mobile_trx; 4 5 /*** 6 * Implements simple expression 7 */ 8 public class ASTAssignmentStatement extends mobisnap.mobile_trx.SimpleNode { 9 public ASTPlSqlExpression expr; 10 public String s1, s2; 11 12 public ASTAssignmentStatement(int id) { 13 super(id); 14 } 15 16 public ASTAssignmentStatement( MobisnapSQL p, int i) { 17 super( p, i); 18 id = i; 19 } 20 21 /*** Accept the visitor. **/ 22 public Object jjtAccept(MobisnapSQLVisitor visitor, Object data) { 23 return visitor.visit(this, data); 24 } 25 26 public void process( int msql_type) throws Exception { 27 MSQLTVariable var = (MSQLTVariable)MobisnapSQL.names.getName( s1); 28 var.associateRsrv( null); 29 var.setValue( expr.value( msql_type, false)); 30 } 31 32 }

This page was automatically generated by Maven